# "NewOdyssey"  theme for GTK+ 2.x 
# (based on Odyssey by Jean-Paul Bizet http://jp.bizet.free.fr/)
# ondoho/ohnonot 2016

style "default"
{
  GtkWidget::interior_focus			= 2
  GtkWidget::focus_padding			= 2
  GtkButton::default_border			= { 2, 2, 2, 2 }
  GtkButton::default_outside_border		= { 0, 0, 0, 0 } 
  GtkRange::trough_border			= 0
  GtkRange::slider_width			= 12 # was 16
  GtkRange::stepper_size			= 12 # was 16
  GtkPaned::handle_size				= 6
  GtkScrollbar::min_slider_length		= 50
  GtkScrollbar::slider_width			= 12 # was 16
  GtkCheckButton::indicator_size		= 12
  GtkCheckButton::indicator_spacing		= 3
  GtkMenuBar::internal_padding			= 1
  GtkOptionMenu::indicator_size			= { 15, 8 }
  GtkOptionMenu::indicator_spacing		= { 8, 2, 0, 0 }
  GtkStatusbar::shadow_type 			= GTK_SHADOW_NONE

  xthickness            	= 2
  ythickness            	= 2
    
  fg[NORMAL]			= "#080408"
  fg[PRELIGHT]			= "#080408"
  fg[ACTIVE]			= "#080408"
  fg[SELECTED]			= "#ffffff"
  fg[INSENSITIVE]		= "#c6b9a5"
  
  bg[NORMAL]			= "#ebe2d2"
  bg[PRELIGHT]			= "#ebe2d2"
  bg[ACTIVE]			= "#ebe2d2"
  bg[SELECTED]			= "#f1ab66"
  bg[INSENSITIVE]		= "#ebe2d2"

  base[NORMAL]			= "#fcfcfa"	
  base[PRELIGHT]		= "#f1ab66"
  base[ACTIVE]			= "#f1ab66"
  base[SELECTED]		= "#f1ab66"
  base[INSENSITIVE]		= "#ebe2d2"	

  text[NORMAL]			= "#080408"
  text[PRELIGHT]		= "#080408"
  text[ACTIVE]			= "#ffffff"
  text[SELECTED]		= "#ffffff"
  text[INSENSITIVE]		= "#c6b9a5"

  engine "pixmap"
  {
  
    # Flat by default

#    image
#    {
#      function				= BOX
#    }

    # handle
    
    image
    {
      function			= HANDLE
      recolorable		= TRUE
      overlay_file		= "handle-h.png"
      overlay_stretch		= FALSE
      orientation		= HORIZONTAL
    }
    image
    {
      function			= HANDLE
      recolorable		= TRUE
      overlay_file		= "handle-v.png"
      overlay_stretch		= FALSE
      orientation		= VERTICAL
    }

    # shadow

    image
    {
      function			= SHADOW
      shadow			= IN
      recolorable		= FALSE
      file			= "shadow-in.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= OUT
       recolorable		= TRUE
       file			= "shadow-out.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= ETCHED_IN
       recolorable		= TRUE
       file			= "frame1.png"				
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= ETCHED_OUT
       recolorable		= TRUE
       file			= "frame2.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW_GAP
       recolorable		= TRUE
       file			= "frame1.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
       gap_start_file		= "frame-gap-start.png"
       gap_start_border		= { 2, 0, 2, 0 }
       gap_end_file		= "frame-gap-end.png"
       gap_end_border		= { 0, 2, 2, 0 }
       gap_side			= TOP
    }
    image
    {
       function			= VLINE
       recolorable		= TRUE
       file			= "line-v.png"
       border			= { 1, 1, 0, 0 }
       stretch			= TRUE
    }
    image
    {
      function			= HLINE
      recolorable		= TRUE
      file			= "line-h.png"
      border			= { 0, 0, 1, 1 }
      stretch			= TRUE
    }

    # focus

    image
    {
      function			= FOCUS
      recolorable		= TRUE
      file			= "focus.png"
      border			= { 5, 0, 5, 0 }
      stretch			= TRUE
    }	

    # arrows

    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "arrow-up.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction		= UP
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "arrow-down.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction		= DOWN
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "arrow-left.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction		= LEFT
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "arrow-right.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
      arrow_direction		= RIGHT
    }
    image 
      {
        function		= BOX
	recolorable		= TRUE
	file        		= "toolbar.png"
	border      		= { 2, 2, 3, 2 }
	stretch         	= TRUE
      }
  }
}

class "GtkWidget"          style "default"


style "button"			= "default"
{

  engine "pixmap"
  {
    image
    {
      function			= BOX
      detail			= "buttondefault"
      recolorable		= TRUE
      file			= "button-default.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      recolorable		= TRUE
      file			= "button-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "button-pressed.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }	
    image 
   {
     function			= BOX
     state			= INSENSITIVE
     file			= "button-insensitive.png"
     border			= { 3, 3, 3, 3 }
     stretch			= TRUE
    }
    image 
    {
      function			= BOX
      file			= "button-normal.png"		
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }	
  }
}


style "togglebutton"
{
   engine "pixmap" {

    image 
      {
        function        	= BOX
	recolorable     	= TRUE
	shadow          	= IN
	file            	= "button-pressed.png" 
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
      }
    image 
      {
        function        	= BOX
	recolorable  	 	= TRUE
	shadow       	  	= OUT
	file            	= "button-normal.png" 
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
      }
    image 
      {
        function        	= BOX
	recolorable  	 	= TRUE
        state			= INSENSITIVE
	#shadow       	  	= OUT
	file            	= "button-insensitive.png" 
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
      }

  }
}


style "toolbarbutton" 
{
engine "pixmap" {
      
image
	{
	function        	= BOX
	recolorable     	= TRUE
	state			= NORMAL
	file            	= "toolbar-button-normal.png"
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
	}
image
	{
	function        	= BOX
	recolorable     	= TRUE
	state			= PRELIGHT
	file            	= "toolbar-button-prelight.png"
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
	}
image
	{
	function        	= BOX
	recolorable     	= TRUE
	state			= ACTIVE
	file            	= "toolbar-button-pressed.png"
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
	}  
image
	{
	function        	= BOX
	recolorable     	= TRUE
	state			= INSENSITIVE
	file            	= "toolbar-button-insensitive.png"
	border          	= { 3, 3, 3, 3 }
	stretch         	= TRUE
	}  
}
}


style "checkradiobutton" {

  engine "pixmap" {
    image 
	{
	function		= FLAT_BOX
	recolorable		= TRUE
	file			= "highlight.png"
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
       }
    }
}

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"


style "optionmenu"	= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= BOX
      recolorable		= TRUE
      state			= NORMAL
      file			= "button-normal.png"
      border			= { 8, 8, 8, 8}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "button-prelight.png"
      border			= { 8, 8, 8, 8}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      recolorable		= TRUE
      state			= ACTIVE
      file			= "button-prelight.png"
      border			= { 8, 8, 8, 8}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "button-insensitive.png"
      border			= { 8, 8, 8, 8}
      stretch			= TRUE
    }
    image
    {
      function			= TAB
      state			= NORMAL
      recolorable		= TRUE
      overlay_file		= "arrow-down.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= TAB
      state			= PRELIGHT
      recolorable		= TRUE
      overlay_file		= "arrow-down.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= TAB
      state			= INSENSITIVE
      recolorable		= TRUE
      overlay_file		= "arrow-down-insensitive.png"
      overlay_stretch		= FALSE
    }
  }
}


style "combobox"		= "default"
{
engine "pixmap" { 
 image
    {
      function			= BOX
      recolorable		= TRUE
      state			= NORMAL
      file			= "button-normal.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }   
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "button-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= ACTIVE
      file			= "button-normal.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= SELECTED
      file			= "button-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
image
    {
      function			= BOX
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "button-insensitive.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
image
    {
      function			= VLINE
      recolorable		= TRUE
      file			= "null.png"
      stretch			= TRUE
    } 
  }
}


style "radiobutton"	= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= OPTION
      shadow			= OUT
      recolorable		= TRUE
      overlay_file		= "option1.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= OPTION
      shadow			= IN
      recolorable		= TRUE
      overlay_file		= "option2.png"
      overlay_stretch		= FALSE
    }
  image
    {
     function			= OPTION
     shadow			= ETCHED_IN
     recolorable		= TRUE
     overlay_file		= "option3.png"
      overlay_stretch		= FALSE
     }
  }
}


style "checkbutton"		= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= CHECK
      shadow			= OUT
      recolorable		= TRUE
      overlay_file		= "check1.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
    image
    {
      function			= CHECK
      shadow			= IN
      recolorable		= TRUE
      overlay_file		= "check2.png"
      overlay_border		= { 0, 0, 0, 0 }
      overlay_stretch		= FALSE
    }
  image
    {
     function			= CHECK
     shadow			= ETCHED_IN
     recolorable		= TRUE
     overlay_file		= "check3.png"
     overlay_border		= { 0, 0, 0, 0 }
     overlay_stretch		= FALSE
 }
  }
}


style "entry"			= "default"
{
  GtkWidget::interior_focus	= 1

  engine "pixmap"
  {
    image
    {
      function			= FOCUS
      state			= NORMAL
      recolorable		= TRUE
      file			= "shadow-in.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }	
  }
}


style "spinbutton"	= "entry"
{
  engine "pixmap"
  {
    image
    {
      function			= ARROW
    }
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file			= "spin.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-up-normal.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file			= "spin.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-up-normal.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file			= "spin.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-up-pressed.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file			= "spin-insensitive.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-up-insensitive.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file			= "spin.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-down-normal.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file			= "spin.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-down-normal.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file			= "spin.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-down-pressed.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file			= "spin-insensitive.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      overlay_file		= "spin-down-insensitive.png"
      overlay_stretch		= FALSE
    }
  }
}


style "scrollbar" = "default"
{
  engine "pixmap" 
  {

    image 
    {
      function			= BOX
      state 			= ACTIVE
      recolorable		= TRUE
      detail			= "trough"
      file			= "trough-h.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= BOX
      state 			= INSENSITIVE
      recolorable		= TRUE
      detail			= "trough"
      file			= "trough-h.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= BOX
      recolorable		= TRUE
      state 			= ACTIVE
      detail			= "trough"
      file			= "trough-v.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= BOX
      state 			= INSENSITIVE
      recolorable		= TRUE
      detail			= "trough"
      file			= "trough-v.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file			= "slider-h.png" 
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= PRELIGHT
      file			= "slider-h.png" 
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file			= "slider-h-insensitive.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file			= "slider-v.png" 
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= PRELIGHT
      file			= "slider-v.png" 
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file			= "slider-v-insensitive.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= NORMAL
      file			= "stepper-up.png"
      stretch			= TRUE
      arrow_direction		= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "stepper-up-insensitive.png"
      stretch			= TRUE
      arrow_direction		= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "stepper-up-prelight.png"
      stretch			= TRUE
      arrow_direction		= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= ACTIVE
      file			= "stepper-up-pressed.png"
      stretch			= TRUE
      arrow_direction		= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= NORMAL
      file			= "stepper-down.png"
      stretch			= TRUE
      arrow_direction		= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "stepper-down-insensitive.png"
      stretch			= TRUE
      arrow_direction		= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "stepper-down-prelight.png"
      stretch			= TRUE
      arrow_direction		= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= ACTIVE
      file			= "stepper-down-pressed.png"
      stretch			= TRUE
      arrow_direction		= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= NORMAL
      file			= "stepper-right.png"
      stretch			= TRUE
      arrow_direction		= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "stepper-right-insensitive.png"
      stretch			= TRUE
      arrow_direction		= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "stepper-right-prelight.png"
      stretch			= TRUE
      arrow_direction		= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= ACTIVE
      file			= "stepper-right-pressed.png"
      stretch			= TRUE
      arrow_direction		= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= NORMAL
      file			= "stepper-left.png"
      stretch			= TRUE
      arrow_direction		= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= INSENSITIVE
      file			= "stepper-left-insensitive.png"
      stretch			= TRUE
      arrow_direction		= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= PRELIGHT
      file			= "stepper-left-prelight.png"
      stretch			= TRUE
      arrow_direction		= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state			= ACTIVE
      file			= "stepper-left-pressed.png"
      stretch			= TRUE
      arrow_direction		= LEFT
    }
  }
}


style "progressbar"		= "default"
{
  engine "pixmap" 
  {
    image
    {
      function			= BOX
      detail			= "trough"
      recolorable		= TRUE
      file			= "trough-progressbar.png"
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image
    {
      function			= BOX
      detail			= "trough"
      recolorable		= TRUE
      file			= "trough-progressbar-v.png"
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image
    {
      function			= BOX
      detail			= "bar"
      recolorable		= TRUE
      file			= "progressbar.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    } 
    image
    {
      function			= BOX
      detail			= "bar"
      recolorable		= TRUE
      file			= "progressbar-v.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
      orientation		= VERTICAL
    } 
  }
}


style "range"		= "default"
{	
  engine "pixmap" 
  {
    image 
    {
      function			= BOX
      recolorable		= TRUE
      state			= ACTIVE
      detail			= "trough"
      file			= "trough-range-h.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      recolorable		= TRUE
      state			= INSENSITIVE
      detail			= "trough"
      file			= "trough-range-h-insensitive.png"
      border			= { 4, 4, 6, 6 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      recolorable		= TRUE
      state			= ACTIVE
      detail			= "trough"
      file			= "trough-range-v.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= BOX
      recolorable		= TRUE
      state			= INSENSITIVE
      detail			= "trough"
      file			= "trough-range-v-insensitive.png"
      border			= { 6, 6, 6, 6 }
      stretch			= TRUE
      orientation		= VERTICAL
   }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file			= "slider2-h-normal.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
     state           		= PRELIGHT
      file			= "slider2-h-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file			= "slider2-h-insensitive.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file			= "slider2-v-normal.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
     state           		= PRELIGHT
      file			= "slider2-v-prelight.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file			= "slider2-v-insensitive.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
  }
}


style "menu"			= "default"
{
  engine "pixmap"
  {
    image
    {
      function			= BOX
     recolorable    		= TRUE
      detail			= "menu"
      file			= "menu.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
    }
  }
}


style "menubar"		= "default"
{
	engine "pixmap"
	{
		image
		{
			function	= BOX
			file		= "menubar.png"
			border		= { 2, 2, 2, 2 }
			stretch		= TRUE
    		}
 	}
}


style "menuitem"		= "default"
{
  xthickness			= 4
  engine "pixmap"
  {
    image
    {
      function			= BOX
      recolorable		= TRUE
      file			= "menuitem.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "arrow-right.png"
      overlay_stretch		= FALSE
      arrow_direction		= RIGHT
    }	
  }
}


style "tearoffmenuitem"	= "menuitem"
{
  engine "pixmap"
  {
    image
    {
      function			= ARROW
      file			= "arrow-left.png"
      stretch			= TRUE
      arrow_direction		= LEFT
    }
#    image
#    {
#      function	= HLINE
#      file			= "cuthere.png"
#      border		= { 0, 0, 0, 0 }
#      stretch		= TRUE
#    }
  }
}


style "notebook"		= "default"
{

  engine "pixmap" 
    {
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "ext-top.png"
	border			= { 4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "ext-bottom.png"
	border			= {  4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "ext-right.png"
	border			= {  4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= LEFT
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file			= "ext-left.png"
	border			= { 4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= RIGHT
      }	
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	file			= "extension-top.png"
	border			= { 4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	file			= "extension-bottom.png"
	border			= { 4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	file			= "extension-left.png"
	border			= {  4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= RIGHT
      }
    image 
      {
        function		= EXTENSION
	recolorable		= TRUE
	file			= "extension-right.png"
	border			= {  4, 4, 4, 4 }
	stretch			= TRUE
	gap_side		= LEFT
      }
#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "notebook.png" 
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
	gap_file		= "null.png" #= "gap_top.png"
	gap_border     		= { 1, 1, 1, 1 }
	gap_start_file		= "null.png"
	gap_end_file		= "null.png"
	gap_side		= TOP
      }
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "notebook.png"
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
	gap_file		= "null.png" # "gap_bottom.png"
	gap_border		= { 2, 1, 1, 1 }
	gap_start_file		= "null.png"
	gap_end_file		= "null.png"
	gap_side		= BOTTOM
      }
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "notebook.png"
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
	gap_file		= "null.png" # "gap_left.png"
	gap_border		= { 2, 2, 2, 2 }
	gap_start_file		= "null.png"
	gap_end_file		= "null.png"
	gap_side		= LEFT
      }
    image 
      {
        function		= BOX_GAP
	recolorable		= TRUE
	file			= "notebook.png" 
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
	gap_file		= "null.png" # "gap_right.png"
	gap_border		= { 1, 1, 2, 1 }
	gap_start_file		= "null.png"
	gap_end_file		= "null.png"
	gap_side		= RIGHT
      }
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file				= "notebook.png"
	border			= { 3, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= TOP
      }
  }
}


style "treeview"		= "default"
{	
  engine "pixmap"
  {
    # don't draw the focus around listitems
    image
    {
      function			= FOCUS
    }
  }
}


style "textview"		= "default"
{
  bg[NORMAL]			= "#fcfcfa"

  engine "pixmap"
  {
    # don't draw focus around textview
    image
    {
      function			= FOCUS
    }
  }
}


style "tooltips"		= "default"
{
  bg[NORMAL]			= "#fffcdb"
}


style "ruler"			= "default"
{
  engine "pixmap" {
    image 
      {
        function		= BOX
	recolorable		= TRUE
	detail			= "vruler"
	file			= "ruler-v.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
    image 
      {
        function		= BOX
	recolorable		= TRUE
	detail			= "hruler"
	file			= "ruler-h.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
  }
}


style "handlebox"		= "default"
{
  engine "pixmap"
  {
    image
    {
      #function		= SHADOW
    }

    image
    {
      function			= HANDLE
      recolorable		= TRUE
      overlay_file		= "handle-v.png"
      overlay_stretch		= FALSE
      orientation		= VERTICAL
    }
    image
    {
      function			= HANDLE
      overlay_file		= "handle-h.png"
      overlay_stretch 		= FALSE
      orientation		= HORIZONTAL
    }
  }
}


style "flat" 			= "default"
{
  engine "pixmap"
  {
    image
    {
      function		= SHADOW
    }
  }
}


style "list-header"
{
   #Comment out the ythickness setting below for thicker column headers.
   #ythickness = 0
   GtkTreeView::odd_row_color = "#f7f5f2"
   GtkTreeView::even_row_color = "#fcfcfa"  # normal

   engine "pixmap" 
	{

	#This image is used to draw the headers of columns in list views when they are
	#not selected.
    	image
      		{
        		function     	   	= BOX
			recolorable 	   	= TRUE
			state			= NORMAL
			file            	= "list_header.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}

	#This image is used to draw the column headers in list views when they are
	#clicked.
    	image
      		{
        		function      	 	= BOX
			recolorable  	  	= TRUE
			state			= PRELIGHT
			file            	= "list_header.png"
			border       	   	= { 2, 2, 2, 2 }
			stretch       	  	= TRUE
      		}

	#Does this do anything?

	image
      		{
        		function     	   	= BOX
			recolorable   	 	= TRUE
			state			= ACTIVE
			file			= "list_header-pressed.png"
			border          	= { 2, 2, 2, 2}
			stretch        	 	= TRUE
      		}
	image
      		{
        		function      	  	= BOX
			recolorable   	 	= TRUE
			state			= SELECTED
			file			= "list_header.png"  
			border        	  	= { 2, 2, 2, 2 }
			stretch       	 	= TRUE
      		}
  	}
    	
}

widget_class "*List" style "list-header"
widget_class "*GtkTree*" style "list-header"
widget_class "*GtkCList" style "list-header"


# This prevents Sodipodi from crashing while opening the
# Object-Style dialog.

style "unstyle"
{
  engine ""
  {
  }
}

# recognizable pressed toggle buttons
# SPIcons seem to erase the background first. That's why I can't use
# the button style.

style "SPbutton"
{
  engine "pixmap"
  {
    image
    {
      function			= BOX
      shadow			= IN
      recolorable		= TRUE
      file			= "shadow-out.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE
    }
    image
    {
      function		= BOX
    }
  }
}


style "panelbg"
{
  xthickness            	= 1
  ythickness            	= 1
  #bg_pixmap[NORMAL]		= "panel_bg.png"
}

class "*Panel*" style "panelbg"


style "panelbuttons" = "default"
{
  engine "pixmap"
  {
    image
    {
      function			= BOX
      detail			= "buttondefault"
      recolorable		= TRUE
      file			= "toolbar-button-normal.png" 
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      recolorable		= TRUE
      file			= "toolbar-button-normal.png"
      border			= { 4, 4, 8, 8 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "toolbar-button-pressed.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }	
    image 
   {
     function			= BOX
     state			= INSENSITIVE
     file			= "toolbar-button-insensitive.png"
     border			= { 3, 3, 3, 3 }
     stretch			= TRUE
    }
    image 
    {
      function			= BOX
      state			= NORMAL
      file			= "toolbar-button-normal.png" 		
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }	
  }
}

widget_class "*Panel*GtkButton" style "panelbuttons"


style "paneltogglebutton"
{
   engine "pixmap" 
   {
    image 
      {
        function      		= BOX
	recolorable 		= TRUE
	shadow        		= IN
	file            	= "toolbar-button-pressed.png" 
	border          	= { 4, 4, 4, 4 }
	stretch         	= TRUE
      }
    image 
      {
        function        	= BOX
	recolorable     	= TRUE
	shadow          	= OUT
	file            	= "toolbar-button-normal.png" 
	border          	= { 4, 4, 8, 8 }
	stretch         	= TRUE
      }
  }
}

widget_class "*Panel*GtkToggleButton" style "paneltogglebutton"


style "panelmenubar"
{
  engine "pixmap"
  {
    image 
    {
      function			= BOX
      state			= NORMAL
      file			= "null.png"		
      stretch			= TRUE
    }	
    image 
    {
      function			= BOX
      state			= PRELIGHT
      file			= "menuitem.png"
      border         	 	= { 5, 5, 5, 5 }		
      stretch			= TRUE
    }	
  }
}

widget_class "*Panel*.*<GtkMenuBar>*" style "panelmenubar"


class "GtkButton"          				style "button"
class "GtkToggleButton" 				style "togglebutton"
widget_class "*Tool*GtkButton"				style "toolbarbutton"
widget_class "*Tool*GtkToggleButton" 			style "toolbarbutton"
class "GtkRadioButton"     				style "radiobutton"
class "GtkRadioMenuItem"   			 	style "radiobutton"
class "GtkCheckButton"     				style "checkbutton"
class "GtkCheckMenuItem"   				style "checkbutton"
class "GtkOptionMenu"      				style "optionmenu"
widget_class "*Combo*" 					style "combobox"
class "GtkEntry"           				style "entry"
class "GtkOldEditable" 					style "entry"
class "GtkSpinButton"   	 			style "spinbutton"
class "GtkRuler"           				style "ruler"
class "GtkScrollbar"       				style "scrollbar"
class "GtkProgressBar"     				style "progressbar"
class "GtkRange"         				style "range"
class "GtkMenu"       					style "menu"
class "GtkMenuBar" 	     			   	style "menubar"
class "GtkItem"           				style "menuitem"
class "GtkTearoffMenuItem"				style "tearoffmenuitem"
class "GtkNotebook"      				style "notebook"
class "GtkTextView"     				style "textview"
#class "GtkTreeView"    				style "treeview" # list-header
#class "GtkToolbar"       				style "flat"	
class "GtkHandleBox"    				style "handlebox"
class "GtkEventBox"    					style "flat"
class "GtkPaned"       					style "handlebox"
class "SPButton"         				style "SPbutton"
widget "gtk-tooltips"  					style "tooltips"
# prevent Sodipodi from crashing
class "SPColorSlider" 					style "unstyle"


style "metacity" {
    bg[NORMAL]         		= "#e5daca"	# normal base color
    bg[INSENSITIVE]         	= "#e5daca"	# unfocused titlebar background color
    bg[SELECTED]         	= "#f1ab66"	# focused titlebar background color #
    fg[INSENSITIVE]         	= "#aeaeae"	# unfocused  text color
    fg[SELECTED]            	= "#000000"	# focused text color
    fg[NORMAL]         		= "#aeaeae"	# focused icon color
}

class "MetaFrames" 	style "metacity"


# colorize ugly line at the top of the vertical scrollbar in Nautilus
style "searchbar" {
bg[NORMAL] = "#b9ad9c"
}
widget "*.nautilus-extra-view-widget" style:highest "searchbar"


# separator in Nautilus sidebar
style "separator" {
bg[NORMAL] = "#f1ab66"
}
widget "*nautilus*side*" style:highest "separator"


style "toolbar"
{

	engine "pixmap"
	{
		image
		{
			function	= BOX
			file		= "toolbar.png"
			border		= { 2, 2, 3, 2 }
			stretch		= TRUE
    		}
 	}
}
widget_class "*BonoboDockItem" style "toolbar"
class "*BonoboDockItem" style "toolbar"

widget_class "*HandleBox" style "toolbar"
class "*HandleBox" style "toolbar"

widget_class "*Toolbar" style "toolbar"
class "*Toolbar" style "toolbar"

